<?#//v.3.0.0
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

	
	require('../includes/config.inc.php');

	if(!($HTTPS == '1' || $HTTPS == 'on')) exit;

	#// Retrieve user's data
	$query = "SELECT name,nick,DECODE(creditcard,'$MD5_PREFIX') as CCN, card_zip, exp_month,exp_year,card_owner
			  FROM PHPAUCTIONXL_users
			  WHERE id='$user'";
	$res = @mysql_query($query);
	if(!$res)
	{
		print "Error: $query<BR>".mysql_error();
		exit;
	}
	else
	{
		$USER = mysql_fetch_array($res);
	}

?>

<HTML>
<HEAD>
  <TITLE><?=$SETTINGS[sitename]?></TITLE>
<link rel='stylesheet' type='text/css' href='style.css' />
<link href="css/main.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY BGCOLOR="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  <TABLE WIDTH="100%" CELLSPACING="0" BORDER="0" CELLPADDING="4" class="base" style="border:1px solid #ccc;">
    <TR>
      <TD WIDTH="85%" class="title"><p><?=$MSG_5297?></p></TD>
      <TD align=right WIDTH="15%" class="title"> <img src="images/secure.gif" width="15" height="20"></TD>
    </TR>
    <TR ALIGN="center">
      <TD colspan="2">
        <TABLE WIDTH="100%" CELLSPACING="0" BORDER="0" CELLPADDING="0" bgcolor="#ffffff">
         
          <TR bgcolor="#ffffff">

          <TD WIDTH="39%" valign="top"> <p class="blue">
            <?=$MSG_294?>
            </p> </TD>

          <TD WIDTH="61%" valign="top"> 
            <?=$USER['name']?>
          </TD>
          </TR>
          <TR bgcolor="#ffffff">

          <TD WIDTH="39%" valign="top" class="gris"> 
            <p class="blue"><?=$MSG_293?>
            </p> </TD>

          <TD WIDTH="61%" valign="top" class="gris"> 
            <?=$USER['nick']?>
          </TD>
          </TR>
          <TR bgcolor="#ffffff">

          <TD WIDTH="39%" valign="top"><p class="blue">
            <?=$MSG_5285?>
            </p></TD>

          <TD WIDTH="61%" valign="top"> 
            <?=$USER[CCN]?>
          </TD>
          </TR>
          <TR bgcolor="#ffffff">

          <TD WIDTH="39%" valign="top" class="gris"><p class="blue">
            <?=$MSG_5286?>
            </p> </TD>

          <TD WIDTH="61%" valign="top" class="gris"> 
            <?=$USER[exp_month]."/".$USER[exp_year];?>
          </TD>
          </TR>
          <TR>
		  <TD WIDTH="39%" valign="top"> <p class="blue">
            <?=$MSG_5287?>
            </p> </TD>

          <TD WIDTH="61%" valign="top"> 
            <?=$USER[card_owner];?>
          </TD>
          </TR>
          <TR>
		  <TD WIDTH="39%" valign="top" class="gris"><p class="blue">
            <?=$MSG_5301?>
            </p> </TD>

          <TD WIDTH="61%" valign="top" class="gris"> 
            <?=$USER[card_zip];?>
          </TD>
          </TR>
        
        </TABLE>
      </TD>
    </TR>
  </TABLE>
<BR>
          <P align="center"><A href="javascript:window.close()" class="linkblue">Close</A></P>
</BODY>
</HTML>
